package com.example.demo.common.code;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
@AllArgsConstructor
public enum ErrorCode {
    INVALID_USERNAME_PASSWORD("400","账号密码错误"),
    USER_IS_ENABLE("401","用户未启用"),
    Lock_User("402","登录错误次数超过5次,请30分钟后重试");
    private String code;
    private String msg;
}
